package net.homeftp.heimo.task;

import android.os.AsyncTask;

public class GetDataTask extends AsyncTask<Void, Void, String[]> {
	
	private ITaskListener listener;
	
	public GetDataTask(ITaskListener listener){
		this.listener = listener;
	}
	
    @Override
    protected void onPostExecute(String[] result) {
        // Call onRefreshComplete when the list has been refreshed.
        super.onPostExecute(result);
        listener.onTaskCompleted(result);
    }

	@Override
	protected String[] doInBackground(Void... arg0) {
		// TODO Auto-generated method stub
		return null;
	}
}